#ifndef MAINCLASS_H
#define MAINCLASS_H

#include <QFutureSynchronizer>
#include <QObject>

class MainClass : public QObject {
    Q_OBJECT
    QFutureSynchronizer<void> synchronizer;

public:
    explicit MainClass(QObject *parent = nullptr);

signals:
    void start();
    void stop();

private slots:
    void onStart();
};

#endif // MAINCLASS_H
